home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / rlib / atanh < prev    next >
Text File  |  1994-02-21  |  324b  |  15 lines

  1. //-------------------------------------------------------------------//
  2.  
  3. //  Syntax:  atanh ( X )
  4.  
  5. //  Description:
  6.  
  7. //  Atanh is the inverse hyperbolic tangent of the element(s) of X.
  8.  
  9. //-------------------------------------------------------------------//
  10.  
  11. atanh = function ( x )
  12. {
  13.   return log ((1 + x) ./ (1 - x))/2;
  14. };
  15.